package cn.kgc.day05.service;

import cn.kgc.day05.entity.User;
import cn.kgc.day05.http.ResponseResult;

/**
 * @author 课工场
 * @date 2024/10/16
 * @description
 */
public interface UserService {
    ResponseResult selectByUsername(String username);

    ResponseResult registerUser(String username, String password);

    ResponseResult login(String username, String password);

    ResponseResult personalInfo(String username);

    ResponseResult editPersonalInfo(User user);

    ResponseResult editPersonalPwd(String oldPwd, String newPwd, String username);
}
